<!DOCTYPE html>
<html>
<head>
    <meta charset='UTF-8'>
    <title>test</title>
    <style>
        .abso{
            position: absolute;
            background: deeppink;
            color: white;
        }
        
        .rela{
            position: relative;
            background: dodgerblue;
            color: white;
        }
        
        .static{
            position: static;
            background: green;
        }
        
        .right{
            right: 0px;
        }
    </style>
</head>
<body>
    <div class=" right">
        <span class="rela">relative sgsg</span>
        <div class="abso">
            <p>i am absolute</p>
            <p>i am absolute</p>
            <p>i am absolute</p>
        </div>
    </div>
</body>
</html>